<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="贵州无线" />
<meta name="description" content="贵州无线" />
<title>掌上温泉季</title>
<script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript">
$(function(){
	$("#login_submit").click(function(){
		$("#login_form").submit();
	});
});

</script>
</head>
<body style="background-color: #FFFBE1;height: 768px;width: 100%;">
	<div style="width: 288px;margin: auto;background-color: #6DC766;margin-top: 100px;">
		<form action="login.htm" id="login_form" method="post">
			<table>
					<tr>
						<td>
							用户名：
						</td>
						<td>
							<input type="text" name="name" id="name" />
						</td>
					</tr>
					<tr>
						<td>
							密 码：
						</td>
						<td>
							<input type="password" id="password" name="password" />
						</td>
					</tr>
					<tr id="validate_error" 
					<c:if test="${empty error}">
						style="display: none;"
					</c:if>
					>
						<td style="padding: 0">
						</td>
						<td style="padding: 0">
							<span style="color: red;" id="validate_error_message">${error}</span>
						</td>
					</tr>
					<tr>
						<td></td>
						<td>
							<div style="float: left;border-width: 1px;border-style: solid;width: 50px;text-align: center;height: 20px;cursor: pointer;" id="login_submit">
								<strong>登 录</strong>
							</div>
							
						</td>
					</tr>
			</table>
		</form>
		
	</div>

</body>
</html>